package com.zmc.common.domain.vo.good;

import com.zmc.common.annotation.EsQuery;
import com.zmc.common.annotation.EsUpdate;
import com.zmc.common.enums.es.EsQueryEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author：zmc
 * @Date：2024/12/7 19:53
 */

@Data
public class GoodsDownVo implements Serializable {

    @EsQuery(name = "spuId", value = EsQueryEnum.FILTER_QUERY)
    public Long goodId;

    @EsUpdate(name = "hasStock")
    public boolean hasStock;
}
